<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>libcarcode.widgets.console</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>libcarcode.widgets.console</h1>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#Console">Console</a></td>
<td>Small interactive text console</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="Console" ID="Console"></a>
<h2>Console</h2>
<p>
 Small interactive text console 
</p>
<h3>Derived from</h3>
None
<h3>Methods</h3>
<table>
<tr>
<td><a href="#Console.__init__">Console</a></td>
<td>Console</td>
</tr><tr>
<td><a href="#Console.clear">clear</a></td>
<td>Clear console lines</td>
</tr><tr>
<td><a href="#Console.draw">draw</a></td>
<td></td>
</tr><tr>
<td><a href="#Console.events">events</a></td>
<td></td>
</tr><tr>
<td><a href="#Console.update">update</a></td>
<td></td>
</tr><tr>
<td><a href="#Console.write">write</a></td>
<td>Write a string line to console widget</td>
</tr>
</table>
<p><a NAME="Console.__init__" ID="Console.__init__"></a>
<h4>Console (Constructor)</h4>
<b>Console</b>(<i>pos, size, maxlines = 3</i>)
<p>
Console
</p><dl>
<dt><i>pos</i></dt>
<dd>
tuple with widget position (x, y)
</dd><dt><i>size</i></dt>
<dd>
tuple with widget size (width, height)
</dd><dt><i>maxlines</i></dt>
<dd>
max lines to display, default 3
</dd>
</dl><a NAME="Console.clear" ID="Console.clear"></a>
<h4>Console.clear</h4>
<b>clear</b>(<i></i>)
<p>
 Clear console lines 
</p><a NAME="Console.draw" ID="Console.draw"></a>
<h4>Console.draw</h4>
<b>draw</b>(<i></i>)
<a NAME="Console.events" ID="Console.events"></a>
<h4>Console.events</h4>
<b>events</b>(<i>event</i>)
<a NAME="Console.update" ID="Console.update"></a>
<h4>Console.update</h4>
<b>update</b>(<i></i>)
<a NAME="Console.write" ID="Console.write"></a>
<h4>Console.write</h4>
<b>write</b>(<i>string</i>)
<p>
 Write a string line to console widget
</p><dl>
<dt><i>string</i></dt>
<dd>
one line string to print
</dd>
</dl></p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>